package com.southwind.springboottest.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.southwind.springboottest.entity.Book;


public interface BookService {
    Book getById(Integer id);
    Page<Book> getall(Integer page,Integer size);
    Integer addBook(Book newbook);
    Book findById(Integer id);
    Integer updateById(Book book);
    Integer deleteById(Integer id);
}
